package tv.huan.media.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import tv.huan.common.annotation.Excel;
import tv.huan.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 媒资审核记录对象 media_audit
 * 
 * @author admin
 * @date 2020-04-03
 */
public class MediaAudit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 媒资主键 */
    @Excel(name = "媒资主键")
    private Integer mediaId;

    /** 审核轮次 0待审核 1一审 2二审 3三审 */
    @Excel(name = "审核轮次 0待审核 1一审 2二审 3三审")
    private Integer auditRound;

    /** 审核结果 0待审核 1 通过 -1不通过 */
    @Excel(name = "审核结果 0待审核 1 通过 -1不通过")
    private Integer auditState;

    /** 驳回原因 */
    @Excel(name = "驳回原因")
    private String auditFailedReason;

    /** 一审人员 */
    @Excel(name = "一审人员")
    private String oneAuditUser;

    /** 二审人员 */
    @Excel(name = "二审人员")
    private String towAuditUser;

    /** 三审人员 */
    @Excel(name = "三审人员")
    private String threeAuditUser;

    /** 一审时间 */
    @Excel(name = "一审时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date oneAuditTime;

    /** 二审时间 */
    @Excel(name = "二审时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date towAuditTime;

    /** 三审时间 */
    @Excel(name = "三审时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date threeAuditTime;

    /** 部门id 过滤数据 */
    private Long deptId;

    /** 媒资vid*/
    @Excel(name = "媒资vid")
    private String vid;

    /** 媒资名称 */
    @Excel(name = "媒资名称")
    private String title;

    /** 总集数 */
    @Excel(name = "总集数")
    private String episodeAll;

    /** 专辑 */
    @Excel(name = "专辑")
    private String albumTitle;

    public String getAlbumTitle() {
        return albumTitle;
    }

    public void setAlbumTitle(String albumTitle) {
        this.albumTitle = albumTitle;
    }

    public String getEpisodeAll() {
        return episodeAll;
    }

    public void setEpisodeAll(String episodeAll) {
        this.episodeAll = episodeAll;
    }

    public String getVid() {
        return vid;
    }

    public void setVid(String vid) {
        this.vid = vid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setMediaId(Integer mediaId)
    {
        this.mediaId = mediaId;
    }

    public Integer getMediaId()
    {
        return mediaId;
    }
    public void setAuditRound(Integer auditRound) 
    {
        this.auditRound = auditRound;
    }

    public Integer getAuditRound() 
    {
        return auditRound;
    }
    public void setAuditState(Integer auditState) 
    {
        this.auditState = auditState;
    }

    public Integer getAuditState() 
    {
        return auditState;
    }
    public void setAuditFailedReason(String auditFailedReason) 
    {
        this.auditFailedReason = auditFailedReason;
    }

    public String getAuditFailedReason() 
    {
        return auditFailedReason;
    }
    public void setOneAuditUser(String oneAuditUser) 
    {
        this.oneAuditUser = oneAuditUser;
    }

    public String getOneAuditUser() 
    {
        return oneAuditUser;
    }
    public void setTowAuditUser(String towAuditUser) 
    {
        this.towAuditUser = towAuditUser;
    }

    public String getTowAuditUser() 
    {
        return towAuditUser;
    }
    public void setThreeAuditUser(String threeAuditUser) 
    {
        this.threeAuditUser = threeAuditUser;
    }

    public String getThreeAuditUser() 
    {
        return threeAuditUser;
    }
    public void setOneAuditTime(Date oneAuditTime) 
    {
        this.oneAuditTime = oneAuditTime;
    }

    public Date getOneAuditTime() 
    {
        return oneAuditTime;
    }
    public void setTowAuditTime(Date towAuditTime) 
    {
        this.towAuditTime = towAuditTime;
    }

    public Date getTowAuditTime() 
    {
        return towAuditTime;
    }
    public void setThreeAuditTime(Date threeAuditTime) 
    {
        this.threeAuditTime = threeAuditTime;
    }

    public Date getThreeAuditTime() 
    {
        return threeAuditTime;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("mediaId", getMediaId())
            .append("auditRound", getAuditRound())
            .append("auditState", getAuditState())
            .append("auditFailedReason", getAuditFailedReason())
            .append("oneAuditUser", getOneAuditUser())
            .append("towAuditUser", getTowAuditUser())
            .append("threeAuditUser", getThreeAuditUser())
            .append("oneAuditTime", getOneAuditTime())
            .append("towAuditTime", getTowAuditTime())
            .append("threeAuditTime", getThreeAuditTime())
            .append("deptId", getDeptId())
            .toString();
    }
}
